#!/bin/bash -eux
set -o pipefail

. /mnt/ci/docker

python3 setup.py clean
python3 setup.py sdist
pip3 install -vv dist/*.tar.gz
pip3 install -r requirements-dev.txt
pytest tests/

exec dumb-init /mnt/tests/test-zombies
